//
// Created by wangdayong on 20-12-7.
//

#ifndef HXR_IMUREADER_H
#define HXR_IMUREADER_H
#include <android/log.h>

#define PRINT(...) __android_log_print( ANDROID_LOG_INFO, "jjj", __VA_ARGS__ )
struct NodeData{
    float acc_x;
    float acc_y;
    float acc_z;
    float gyro_x;
    float gyro_y;
    float gyro_z;
    int timeStamp;
};

int node_open();
int node_close();
NodeData node_read();

#endif //HXR_IMUREADER_H
